/*
 * @Author: huangyingli
 * @Date: 2023-02-24 10:19:55
 * @LastEditors: huangyingli
 * @LastEditTime: 2023-02-25 02:03:27
 * @Description:
 */
import axios from './index';

import { URLS } from '../config/urls';

export function ContentComponents(config) {
  return axios({
    method: 'post',
    url: URLS.CONTENT.COMPONENTS,
    ...config,
  });
}

export function ContentAdd(config) {
  return axios({
    method: 'post',
    url: URLS.CONTENT.ADD,
    ...config,
  });
}

export function ContentData(config) {
  return axios({
    method: 'post',
    url: URLS.CONTENT.DATA,
    ...config,
  });
}
